import React from 'react'
import { Toast, NavBar } from "react-vant";
import { ShareO } from "@react-vant/icons";
import { useNavigate } from "react-router-dom";
import  './index.css'
const Index:React.FC = () => {
   const navigate = useNavigate();
  return (
    <div className='MedicalDoorstep'>
    <NavBar
        title="医护上门"
        onClickLeft={() => navigate(-1)}
        rightText={<ShareO fontSize={20} />}
        onClickRight={() => Toast("分享")}
      />
      <img src='../../../src/assets/sxym.jpg'/>
    </div>
  )
}

export default Index
